﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Rendering;
using GameObjectsAndEquipment;


namespace StateMachine.GameStates
{
    public abstract class GameState
    {
        protected int screenWidth;
        protected int screenHeight;

        protected KeyboardState oldState;

        public GameState(int screenWidth, int screenHeight)
        {
            this.screenHeight = screenHeight;
            this.screenWidth = screenWidth;
        }

        public virtual void LoadContent(ContentManager content)
        {
            oldState = Keyboard.GetState(); 
        }

        public virtual void HandleInput(GameStateManager manager, GameTime gameTime)
        {

        }

        public virtual void Update(GameStateManager manager, GameTime gameTime)
        {
        }

        public virtual void Draw(GameStateManager manager, GameTime gameTime)
        {

        }
    }
}
